<form action="" style="z-index: 999999999" method="post" class="form-horizontal form-validate" enctype="multipart/form-data">

    <input type="hidden" name="c" value="site" />
    <input type="hidden" name="a" value="entry" />
    <input type="hidden" name="m" value="mx_shop" />
    <input type="hidden" name="do" value="web" />
    <input type="hidden" name="r" value="store.goods.plusgoodsgroup" />

    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button data-dismiss="modal" class="close" type="button">×</button>
                <h4 class="modal-title">添加商品组</h4>
            </div>
            <div class="modal-body">
                <div class="form-group" >
                    <label class="col-sm-2 control-label">选择商品组</label>
                    <div class="col-sm-9 col-xs-12">
                        <div class="form-group ">
                            <select name="goodsgroupid" class="form-control select2">
                                {loop $list $row}
                                    <option value="{$row['id']}" >{$row['name']}</option>
                                {/loop}
                            </select>
                        </div>
                    </div>
                </div>
            </div> <div class="modal-footer">
            <button class="btn btn-primary" type="submit">确认</button>
            <button data-dismiss="modal" class="btn btn-default" type="button">取消</button>
        </div>
        </div>
    </div>
</form>
